package top.v5it.japi.plus.sdk;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 错误返回
 *
 * @author zhanpu
 * @date 2021/3/10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class JapiErrorReturn implements Serializable {

    private static final long serialVersionUID = 103324888177460377L;

    /**
     * 错误编码
     */
    @JsonProperty("return_code")
    private String returnCode;

    /**
     * 错误描述
     */
    private String message;
}
